---
title: MsoDistributeCmd Enumeration (Office)
ms.prod: office
api_name:
- Office.MsoDistributeCmd
ms.assetid: be0cb580-1d82-1443-0f03-3461ddb9c33d
ms.date: 06/08/2017
---


# MsoDistributeCmd Enumeration (Office)

Specifies how to evenly distribute a collection of shapes. Used with the  **Distribute** method of the **ShapeRange** collection.



|**Name**|**Value**|**Description**|
|:-----|:-----|:-----|
|**msoDistributeHorizontally**|0|Distribute horizontally.|
|**msoDistributeVertically**|1|Distribute vertically.|

